@font-face {
    font-family: SourceHanSansCNRegular;
    src: url("../../resources/css/font/SourceHanSansCNRegular.ttf");
}
@font-face {
    font-family: YouSheBiaoTiHei;
    src: url("../../resources/css/font/YouSheBiaoTiHei.ttf");
}
body{
    background-image: url("./img/index/bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-family: SourceHanSansCNRegular;
    font-size: 0.15rem;
}

html{
    font-size: calc(100vw / 19.2);
}

::-webkit-scrollbar-track-piece {
    background-color: transparent;
}

.el-button{
    font-family: SourceHanSansCNRegular;
}

/* 弹框 */
.mobile-dialog .el-dialog__header{
    display: none;
}
.mobile-dialog .el-dialog__body{
    background-color: transparent;
    padding: 0;
}
.el-dialog__wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-dialog{
    margin: 0 !important;
    background-color: transparent;
    width: auto;
    box-shadow: none;
}

/* 多选 */
.el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{
    background-color: #00e5ff57;
    border-color: #00e4ff;
}
.el-checkbox__inner:hover {
    border-color: #00e4ff;
}
.el-checkbox__inner{
    background-color: #00e5ff57 !important;
    border-color: #00e4ff !important;
}
.el-checkbox__inner::after{
    border-color: #00e4ff;
    border-width: 2px;
}

/* 下拉菜单样式修改 */
.el-popper[x-placement^=bottom] .popper__arrow{
    display: none;
}
.el-popper[x-placement^=bottom]{
    margin-top: 8px;
}
.el-popper{
    background-color: transparent;
    background-image: url("./img/index/ysj.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    filter: none;
    border: none;
    padding: 25px 15px 15px;
}
.el-popper.el-dropdown-menu .el-dropdown-menu__item{
    color: #51b1ff;
}
.el-popper.el-dropdown-menu .el-dropdown-menu__item:hover{
    background-color: transparent;
    position: relative;
    font-weight: 600;
    background-image: linear-gradient(to bottom, #fff, #28a2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    &::after{
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("./img/index/ysjxz.png");
        background-repeat: no-repeat;
        background-size: 100% 85%;
        background-position-y: 50%;
    }
}

/* 头部样式start */
.page-head-box{
    width: 100%;
    height: 1.65rem;
    padding: 0 1.6rem;
    position: relative;
    box-sizing: border-box;
    .page-head-title{
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        background-image: url("./img/index/top.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        text-align: center;
        line-height: 0.8rem;
        span{
            font-family: YouSheBiaoTiHei;
            font-size: 0.45rem;
            background-image: linear-gradient(to bottom, #fff, #fff, #f8feff, #7ec3f8, #6fc0ff);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: 0.03rem;
        }
    }
    .page-head-left{
        position: absolute;
        top: 0.25rem;
        left: 2.4rem;
        display: flex;
        p{
            display: flex;
            flex-direction: column;
            text-align: right;
            transform: rotate(5deg);
        }
        span{
            background-image: linear-gradient(to bottom, #fff, #fff, #f8feff, #8de8ff, #90e9ff);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        > span{
            font-size: 0.35rem;
            font-weight: 600;
            margin-left: 0.2rem;
            transform: rotate(0deg);
            // &::before{
            //     content: "18:30:35";
            //     position: absolute;
            //     top: 0;
            //     left: 0;
            //     text-shadow: 0 0 10px #ffffff34; /* 文本阴影 */
            //     z-index: -1;
            // }
        }
    }
    .page-head-right{
        position: absolute;
        right: 0.2rem;
        top: 0.2rem;
        height: 0.5rem;
        display: flex;
        align-items: center;
        img{
            width: 0.4rem;
            margin-left: 0.15rem;
            cursor: pointer;
        }
    }
}
/* 头部样式end */

/* 侧边样式start */
.page-left-data{
    left: 0.8rem;
}
.page-right-data{
    right: 0.8rem;
}
.page-left-data,.page-right-data{
    position: fixed;
    top: 2.3rem;
    color: #fff;
    p{
        display: flex;
        flex-direction: column;
        margin-top: 0.8rem;
        &:first-child{
            margin-top: 0;
        }
        > span{
            &:last-child{
                font-weight: 600;
                font-size: 0.4rem;
                background-image: linear-gradient(to bottom, #fdf4dc, #ffc028);
                -webkit-background-clip: text;
                background-clip: text;
                -webkit-text-fill-color: transparent;
                span{
                    font-size: 0.2rem;
                    font-weight: 500;
                }
            }
        }
        &:nth-child(2){
            margin-left: 1rem;
        }
    }
}
/* 侧边样式end */

/* 底部样式start */
.page-footer-menu{
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    pointer-events: none;
    .page-footer-menu-item{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        pointer-events: visible;
        position: relative;
        &:nth-child(2){
            margin: 0 2rem;
        }
        &:first-child{
            transform: rotate3d(6, 11, 3, 31deg);
            margin-bottom: 0.4rem;
        }
        &:last-child{
            transform: rotate3d(-5, 5, 2, -31deg);
            margin-bottom: 0.4rem;
        }
        span{
            color: #ffffff;
            text-shadow: 0 0 0.03rem rgb(22, 135, 235);
            font-size: 0.3rem;
            font-weight: 600;
            letter-spacing: 0.02rem;
        }
        img{
            width: 1.5rem;
            margin-bottom: -0.1rem;
        }
        .footer-childern-menu{
            position: absolute;
            top: 0.1rem;
            left: 50%;
            transform: translate(-50%, -100%);
            .childern-menu-item{
                width: 1.5rem;
                height: 0.4rem;
                background-image: url("./img/index/lejmk.png");
                background-repeat: no-repeat;
                background-size: 100% 100%;
                color: #fff;
                font-size: 0.18rem;
                text-align: center;
                line-height: 0.4rem;
                text-shadow: 0 0 0.03rem rgb(22, 135, 235);
                &:hover{
                    background-image: url("./img/index/lejmk-active.png");
                }
            }
        }
    }
}
/* 底部样式end */

/* 手机弹框 */
.mobile-dialog-content{
    width: 3.5rem;
    height: 80vh;
    background-image: url("./img/dialog/bk.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0.23rem 0.26rem;
    position: relative;
    > img{
        position: absolute;
        top: -0.1rem;
        right: -0.3rem;
        cursor: pointer;
        width: 0.4rem;
    }
    .mobile-dialog-box{
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 0.32rem;
        overflow: hidden;
        iframe{
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
        .dialog-mobile-loading{
            width: 100%;
            height: 100%;
            border-radius: 0.32rem;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #fff;
        }
    }
    
}

/* ppt 弹框 */
.ppt-dialog-content{
    width: 80vw;
    height: 80vh;
    background-image: url("./img/dialog/pptbk.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    padding: 0.5rem 0.2rem 0.4rem;
    box-sizing: border-box;
    >img{
        position: absolute;
        top: -0.2rem;
        right: -0.3rem;
        cursor: pointer;
        width: 0.5rem;
    }
    .ppt-dialog-swiper{
        width: 100%;
        height: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        position: relative;
        .swiper-button-prevs,.swiper-button-nexts{
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            font-size: 0.4rem;
            cursor: pointer;
            &.swiper-button-disabled{
                opacity: 0.5;
            }
        }
        .swiper-button-prevs{
            left: 0.3rem;
        }
        .swiper-button-nexts{
            right: 0.3rem;
        }
        .swiper{
            width: 100%;
            height: 100%;
            .swiper-slide{
                background-color: #f8feff;
            }
        }
    }
}

/* 应用中心弹框 */
.app-center-content{
    width: 100vw;
    height: 100vh;
    background-image: url("./img/menu/bj.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    .app-center-head{
        width: 100%;
        height: 1.9rem;
        background-image: url("./img/menu/top.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        text-align: center;
        font-size: 0.4rem;
        color: #e6fcff;
        line-height: 0.6rem;
        font-family: YouSheBiaoTiHei;
        letter-spacing: 0.03rem;
        position: relative;
        > img{
            position: absolute;
            left: 0.2rem;
            top: 0.3rem;
            width: 0.6rem;
            cursor: pointer;
        }
    }
    .app-center-main{
        width: 100%;
        height: calc(100% - 1.5rem);
        position: absolute;
        top: 1.1rem;
        left: 0;
        padding: 0 0.4rem;
        box-sizing: border-box;
        .app-center-main-box{
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            .app-center-main-top{
                width: 100%;
                height: 0.7rem;
                display: flex;
                align-items: center;
                img{
                    height: 80%;
                }
                .collection-list-box{
                    flex: 1;
                    height: 100%;
                    min-width: 0;
                    margin-left: 0.2rem;
                    .swiper{
                        width: 100%;
                        height: 100%;
                    }
                    .swiper-slide{
                        width: 3rem;
                        height: 100%;
                        background-image: url("./img/menu/scdk.png");
                        background-repeat: no-repeat;
                        background-size: 100% 100%;
                        display: flex;
                        padding: 0 0.2rem 0.08rem;
                        box-sizing: border-box;
                        align-items: center;
                        cursor: pointer;
                        img{
                            height: 70%;
                        }
                        p{
                            color: #fff;
                            font-size: 0.17rem;
                            margin-left: 0.1rem;
                        }
                    }
                }
            }
            .app-center-memu-type{
                width: 100%;
                height: 0.35rem;
                margin: 0.2rem 0;
                display: flex;
                .app-center-memu-type-item{
                    width: 1.7rem;
                    height: 100%;
                    background-image: url("./img/menu/qieh2.png");
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    text-align: center;
                    line-height: 0.35rem;
                    color: #fff;
                    font-size: 0.18rem;
                    cursor: pointer;
                    margin-left: -0.15rem;
                    &:first-child{
                        margin-left: 0;
                    }
                    &.active{
                        background-image: url("./img/menu/qieh1.png");
                    }
                }
            }
            .app-center-menu-list{
                width: 100%;
                flex: 1;
                min-height: 0;
                display: grid;
                grid-template-columns: repeat(auto-fill,2.3rem);
                grid-template-rows: repeat(auto-fill,2.5rem);
                gap: 0.2rem;
                justify-content: space-between;
                overflow: auto;
                padding-right: 0.1rem;
                box-sizing: border-box;
                .app-center-menu-list-item{
                    width: 2.3rem;
                    height: 2.5rem;
                    background-image: url("./img/menu/xtbk.png");
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    img{
                        width: 50%;
                    }
                    .collection-icon{
                        position: absolute;
                        right: 0.1rem;
                        top: 0.1rem;
                        width: 0.2rem;
                        cursor: pointer;
                    }
                    p{
                        color: #fff;
                        font-size: 0.18rem;
                        margin-top: 0.1rem;
                        padding: 0 0.3rem;
                        box-sizing: border-box;
                        text-align: center;
                    }
                }
            }
        }
    }
    >img{
        position: absolute;
        bottom: 0.1rem;
        width: 100%;
        height: 0.3rem;
    }
}

/* 中间地图 */
.page-content-map{
    width: calc(100% - 8rem);
    height: calc(100% - 3rem);
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    // z-index: 10;
    .echarts-map-box{
        width: 100%;
        height: 100%;
        #echarts-map{
            width: 100%;
            height: 100%;
            color: rgb(0, 24, 43);
        }
        .map-legend{
            position: absolute;
            left: 6.5rem;
            bottom: 0;
            display: flex;
            flex-direction: column;
            z-index: 10;
            .map-legend-item{
                display: flex;
                align-items: center;
                margin-top: 0.13rem;
                .el-checkbox{
                    display: flex;
                    align-items: center;
                    .el-checkbox__input{
                        margin-bottom: -0.02rem;
                    }
                    .el-checkbox__label{
                        color: #fff;
                        display: flex;
                        align-items: center;
                        img{
                            width: 0.15rem;
                            margin-right: 0.07rem;
                        }
                    }
                }
            }
        }
    }
}
// 地图窗体
.map-info-window{
    width: 3.7rem;
    height: 80%;
    position: fixed;
    top: 15%;
    background-image: url("./img/index/xcjjk.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 0.2rem;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.3);
    .map-info-window-left-arrow{
        width: 0;
        height: 0;
        width: 1.1rem;
        height: calc(100% - 0.18rem);
        position: absolute;
        left: -1.1rem;
        bottom: 0;
        background-image: linear-gradient(to right, #fff, transparent);
    }
    .map-window-close{
        position: absolute;
        right: -0.28rem;
        top: -0.26rem;
        width: 0.4rem;
        cursor: pointer;
    }
    .map-info-window-top{
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 0.15rem;
        img{
            height: 0.25rem;
        }
        span{
            margin-left: 0.1rem;
            font-size: 0.18rem;
        }
    }
    .word-bac{
        display: block;
        position: relative;
        &::after{
            content: "";
            display: block;
            position: absolute;
            width: 1rem;
            height: 0.13rem;
            bottom: -0.03rem;
            left: -0.1rem;
            background-image: url(img/index/zsdx.png);
            background-repeat: no-repeat;
            background-size: 100% 100%;
            z-index: -1;
        }
    }
    .map-info-window-town{
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-bottom: 0.2rem;
        p{
            display: flex;
            flex-direction: column;
            span{
                &:last-child{
                    color: #00baff;
                    display: inline-block;
                    margin-top: 0.05rem;
                }
            }
        }
    }
    .town-img-box{
        margin-top: 0.15rem;
        margin-bottom: 0.15rem;
        width: 100%;
        height: 2rem;
        border-radius: 0.05rem;
        overflow: hidden;
        border: 0.01rem solid #00baff;
        box-sizing: border-box;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .town-desc-box{
        width: 100%;
        flex: 1;
        min-height: 0;
        margin-top: 0.15rem;
        color: #bad9ea;
        overflow: auto;
    }
}